<template>
  <div class="mycell" @click="handlerclick">
      <div class="left">{{title}}</div>
      <div class="right">{{type=='pass'?'******':desc}}<span class="iconfont iconjiantou1"></span></div>
  </div>
</template>

<script>
export default {
  props:['title','desc','type'],
  methods: {
    handlerclick(e){
      this.$emit('click',e)
    }
  }
}
</script>

<style lang="less" scoped>
.mycell{
  height: 60px;
  border-bottom: 1px solid #ccc;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .right{
    font-size: 13px;
    color: #888;
  }
}
</style>